<template>
  <div class="container">
    <div class="floating-hearts">
      <div v-for="n in 6" :key="n" class="floating-heart" :style="{ animationDelay: n * 0.5 + 's' }"></div>
    </div>
    <RouterLink to="/" class="back-button">返回</RouterLink>
  </div>
</template>

<style scoped>
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff69b4, #ff1493);
}

.floating-hearts {
  position: relative;
  width: 300px;
  height: 300px;
}

.floating-heart {
  position: absolute;
  width: 30px;
  height: 30px;
  background: red;
  transform: rotate(45deg);
  animation: float 3s infinite;
}

.floating-heart:before,
.floating-heart:after {
  content: '';
  width: 30px;
  height: 30px;
  background: red;
  border-radius: 50%;
  position: absolute;
}

.floating-heart:before {
  left: -15px;
}

.floating-heart:after {
  top: -15px;
}

@keyframes float {
  0% {
    transform: rotate(45deg) translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotate(45deg) translateY(-100px) scale(0.5);
    opacity: 0;
  }
}

.back-button {
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: #ff1493;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.back-button:hover {
  transform: scale(1.1);
  background: white;
}
</style> 